const Route = require('koa-router')

const { addClass,addGrade,getGradeAndClass} = require('../controller/gradeAndClass.js')
const router = new Route()

router.get('/getGradeAndClass',getGradeAndClass) // 获取年级及班级列表
router.post('/addGrade',addGrade) // 新增年级

router.post('/addClass',addClass) // xin增班级

module.exports = router